<?php
//配置文件-开发使用-数据库有值（数据库为准）
return [

    //超级管理员角色ID配置
    'SuperAdminGroupId'         =>  1,

    //主站ID配置
    'SubstationMasterId'        =>  1,

    //删除字段设置
    "TableDeleteField"  =>  'delete',

    //分页大小
    "AfterLimit"        =>  20,

    //翻页limits
    'limits'                    =>  '20,40,60,80,100',

    //列表权限头部工具栏权限
    'defaultToolbar'            =>  "['filter']",

    //菜单权限单选
    "AuthorityRadio"    =>  [
        1   =>  '需要',
        0   =>  '不需要',
    ],

    //菜单链接类型单选
    "MenuTypeRadio"     =>  [
        0   =>  'AJAX链接',
        1   =>  '超链接',
    ],

    //是否单选
    "IsNoRadio"         =>  [
        0   =>  '否',
        1   =>  '是',
    ],

    //加密盐值长度设置
    "setSaltLength"       =>  10,

    //登录次数设置
    "LoginCount"          =>  10,

    //秘钥
    "KeySalt"             =>  "HNST!@#123",


    //crm接口参数
    'ImgApiData'                =>  [
        'key'                   =>  'f273e0ede2c2e57cb13343426c5c860c',//秘钥
        'domain'                =>  'http://new.stbieshu.com',//域名
        'ApiList'               =>  [//接口列表
            'imgList'               =>  'Api/Imgs/imgList',//图纸列表接口地址
            'getConfigList'         =>  'Api/Imgs/getConfigList',//同步接口图纸配置列表
            'addressList'           =>  'Api/Address/addressList',//地址接口
            'addressInfo'           =>  'Api/Address/addressInfo',//地址详情接口
            'allAddressList'        =>  'Api/Address/allAddressList',//地址详情接口
            'messgeList'            => 'Api/Messages/sendSms',//发送短信接口
            'designerList'          => 'Api/Designers/designerList',//获取设计师列表接口
            'customCase'            => 'Api/Imgs/customCase',//获取项目案例
        ],
    ],

    //图纸
    'thumbnail' => '/thumbnail',//缩略图保存路径
    'atlas'     => '/atlas',//图集保存路径
    'cases'     => '/cases',//案例保存路劲

    //图纸库图片存放地址
    'drawingBankFileDefaultDir' =>  'file/drawing/',

    //图纸配置参数
    'DrawingConfigurationParameter' =>  [
        'cate'              =>  'DrawingType',//图纸类型
        'no2'               =>  'DrawingProgramme',//图纸方案
        'struct'            =>  'DrawingFrameStructure',//图纸框架结构
        'style'             =>  'DrawingStyle',//图纸风格
        'attrs'             =>  'DrawingProperty',//图纸属性
    ],

    //设计案例导入默认配置
    'importDesignCase'  =>  [
        'classification_name'   =>  '设计案例',
        'substation_id'         =>  1,
    ],
];